import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/inspec_task_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/inspec_task_entity.g.dart';

@JsonSerializable()
class InspecTaskEntity {

	InspecTaskEntity();

	factory InspecTaskEntity.fromJson(Map<String, dynamic> json) => $InspecTaskEntityFromJson(json);
	int? planNum = 0;
	int? quantityCompleted = 0;
	int? reExaminationNum = 0;
	int? missingNum = 0;
	int? taskTotalNum = 0;
	int? toBeCompleted = 0;
	String? departmentName;
	String? departmentId;

	Map<String, dynamic> toJson() => $InspecTaskEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
